﻿namespace RialternativeSample.Web
{
    using System;
    using Rialternative.Infrastructure;
    using Rialternative.Repositories;
    using RialternativeSample.Server.Infrastructure;
    using RialternativeSample.Server.NorthwindService;

    public class Global : System.Web.HttpApplication
    {
        protected void Application_Start(object sender, EventArgs e)
        {
            Bootstrapper.SetupContainer(UnityProvider.Instance);
            Bootstrapper.ConfigureService<NorthwindService, EntityFrameworkRepository<NorthwindEntities>>();
        }
    }
}